#ifndef UNLOCK_INDICATOR_H
#define UNLOCK_INDICATOR_H

#include <xcb/xcb.h>

typedef enum unlock_state_t {
    STATE_STARTED = 0,
    STATE_KEY_PRESSED = 1,
    STATE_KEY_ACTIVE = 2,

    STATE_BACKSPACE_ACTIVE = 3,
    STATE_NOTHING_TO_DELETE = 4,
} unlock_state_t;

typedef enum auth_state_t {
    STATE_AUTH_IDLE = 0,
    STATE_AUTH_VERIFY = 1,

    STATE_AUTH_LOCK = 2,
    STATE_AUTH_WRONG = 3,
    STATE_LOCKIT_LOCK_FAILED = 4,
} auth_state_t;

void free_bg_pixmap();

void draw_image(xcb_pixmap_t bg_pixmap, uint32_t *resolution);

void redraw_screen();

void clear_indicator();

#endif // header file protect
       // END: CODEREVIEW